package socket.practice;

import socket.Client;

import java.io.*;
import java.net.Socket;
import java.nio.charset.StandardCharsets;
import java.util.Scanner;

public class C {
    private Socket socket;

    public C(){
        try {
            System.out.println("C run...");
            socket = new Socket("yjpyjp",8080);
            System.out.println("C finish");
        } catch (IOException e) {
            e.printStackTrace();
        }finally {
            try {
                socket.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

    }
    public void start(){



    }

    public static void main(String[] args){
        Client client = new Client();
        client.start();

    }





}
